﻿Imports DTO
Imports DAO

Public Class CLyDoThanhLyBUS
    Public Function LayDanhSachLyDoThanhLySach() As List(Of CLyDoThanhLyDTO)
        Return New CLyDoThanhLyDAO().LayDanhSachLyDoThanhLySach()
    End Function

    Public Function ThemLyDoThanhLy(ByVal tenlydothanhly As String) As Integer
        Return New CLyDoThanhLyDAO().ThemLyDoThanhLy(tenlydothanhly)
    End Function


    Public Function CapNhatLyDoThanhLy(ByVal lydothanhly As CLyDoThanhLyDTO) As Integer
        Return New CLyDoThanhLyDAO().CapNhatLyDoThanhLy(lydothanhly)
    End Function

End Class
